package com.hippo.core.dao;

import com.alibaba.fastjson.JSONObject;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * @author: hippo
 */
@Mapper
public interface DataSourceDao {
    int countDataSource(JSONObject data);

    int addDataSource(JSONObject data);

    List<JSONObject> getDataSourceList(JSONObject jsonObject);

    int deleteDataSource(String id);

    int updateDataSource(JSONObject data);
}
